home *** CD-ROM | disk | FTP | other *** search
- Path: news.ichange.com!newsmaster
- From: Jesse Liberty <jl@staff.ichange.com>
- Newsgroups: comp.lang.c++
- Subject: Re: Generic classes and inheritance
- Date: Thu, 28 Mar 1996 07:22:53 -0500
- Organization: AT&T
- Message-ID: <315A849D.736B@staff.ichange.com>
- References: <3157368b.0@news.sisna.com>
- NNTP-Posting-Host: 140.244.99.60
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win95; I)
- CC: jl@staff.ichange.com
-
- Josh Gustafson wrote:
- >
- > Can a generic class be a base class for another generic class? If so, what
- > does the definition for the derived class look like?
-
- What do you mean by a generic class? Do you mean an Abstract Data Type
- (a class with one or more pure virtual functions)? Then the answer is
- yes, and the declaration for the derived class looks like any other
- derived class.
-
- ------
- Jesse Liberty [AT&T New Media Services]
- jl@staff.ichange.com ZDNet: 72241,72
- Teach Yourself C++ In 21 Days. Sams 1994
- Teach Yourself MORE C++ In 21 Days. Sams 1996
- Teach Yourself ANSI C++ In 21 Days. Sams 1996
- C++: An Introduction To Programming. Que 1996
-